/**
 * @return array action filters
 */
public function filters() {
	return array(
			'accessControl', 
			);
}

/**
 * Specifies the access control rules.
 * This method is used by the 'accessControl' filter.
 * @return array access control rules
 */
public function accessRules() {
	return array(
			array('allow', // allow all users to perform 'index' and 'view' actions
				'actions'=>array('index', 'view'),
				'users'=>array('@'),
				),
			array('allow', // allow admin user to perform 'create' and 'update' actions
				'actions'=>array('minicreate', 'create', 'update', 'admin', 'delete'),
				'users'=>array('admin'),
				),
			array('deny', // deny all users
				'users'=>array('*'),
				),
			);
}
